package com.example.ThinkInJava;

public class SixTuple<A, B> {
    public final A first;
    public final B second;

    public SixTuple(A first, B second) {
        this.first = first;
        this.second = second;
    }

    public String toString() {
        return "(" + first + ", " + second + ")";
    }

    static SixTuple<String, Integer> f() {
        return new SixTuple<>("hi", 211);
    }

    public static void main(String[] args) {
        System.out.println(f());
    }
}
